<?php
/**
 *
 * Author:苏光盼
 * web:https://api.jifen.suanzisu.com
 * date:2019/12/22 下午7:25
 * class:GroupMenuMap.php
 * Project:通用APP后台管理系统
 *
 */

namespace App\Model;


use EasySwoole\Mysqli\QueryBuilder;
use EasySwoole\ORM\AbstractModel;

class GroupMenuMap extends  AbstractModel
{
    protected $tableName = 'group_menu_map';
    protected $autoTimeStamp = false;

    /**
     * @param GroupMenuMap $mode
     */
    protected static function onAfterDelete(self $mode)
    {
           
    }


    protected function role_menu(){
        return $this->hasOne( RoleMenu::class, null,'role_menu_id','id');
    }


}